package cn.edu.ctbu.service;

import cn.edu.ctbu.entity.AddressBook;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 地址簿 服务类
 * </p>
 *
 * @author author
 * @since 2024-05-12
 */
public interface IAddressBookService extends IService<AddressBook> {

    List<AddressBook> get();

    void putDefault(Long id);

    AddressBook getdefault(Long addressId);

    void put(AddressBook dto);
}
